<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var a ="⭐"
        for(let i=0;i<=5;i++){    
           for(let j=0;j<i;j++){
            document.writeln(a)
           }  
           document.writeln(`${a}<br>`)         
        }
        
        var b ="⭐⭐⭐⭐⭐"
        for(let i=0;i<=5;i++){    
           document.writeln(`${b}<br>`)         
        }
                    
    </script>
</body>
</html>